home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: procset pdflev1
- %%Version: 4.0 4
- %%Copyright: Copyright 1987-1999 Adobe Systems Incorporated. All Rights Reserved.
- %%LanguageLevel: 1
- %%Title: PDF operators, with code specific for Level 1
- /_defaulthalftone
- /currenthalftone where
- { pop currenthalftone }
- { 4 dict dup begin
- currentscreen
- /SpotFunction exch def
- /Angle exch def
- /Frequency exch def
- /HalftoneType 1 def
- end }
- ifelse
- dd
- /initialize {
- _defaulthalftone sethalftone
- } bd
- /terminate { } bd
- /pl {
- transform
- 0.25 sub round 0.25 add exch
- 0.25 sub round 0.25 add exch
- itransform
- } bd
- /m { _sa? { pl } if moveto } bd
- /l { _sa? { pl } if lineto } bd
- /c { _sa? { pl } if curveto } bd
- /setSA { /_sa? xdd } bd
- /AlmostFull?
- { dup maxlength exch length sub 2 le
- } bd
- /Expand
- { 1 index maxlength mul cvi dict
- dup begin exch { def } forall end
- } bd
- /xput {
- 3 2 roll
- dup 3 index known not
- { dup AlmostFull? { 1.5 Expand } if
- } if
- dup 4 2 roll put
- } bd
- /defineRes {
- _categories 1 index known not
- { /_categories _categories 2 index 10 dict xput store
- } if
- _categories exch 2 copy get 5 -1 roll 4 index xput put
- } bd
- /findRes {
- _categories exch get exch get
- } bd
- /ri/pop ld
- /L1setcolor {
- aload length
- dup 0 eq
- { pop .5 setgray }
- { dup 1 eq
- { pop setgray }
- { 3 eq
- { setrgbcolor }
- { setcmykcolor }
- ifelse }
- ifelse }
- ifelse
- } bind dd
- /_sfcs { } dd
- /_sscs { } dd
- /_sfc { _fc L1setcolor } dd
- /_ssc { _sc L1setcolor } dd
- /scn { sc } bd
- /SCN { SC } bd
- /gs
- { begin
- /SA here { /_sa? xdd } if
- /TR here
- {
- dup xcheck
- { settransfer }
- { aload pop setcolortransfer }
- ifelse
- } if
- /HT here { sethalftone } if
- /FL here { i } if
- currentdict gsDI
- end
- } bd
- /sfc {
- _lp /fill ne {
- _sfcs
- _sfc
- /_lp /fill dd
- } if
- } dd
- /ssc {
- _lp /stroke ne {
- _sscs
- _ssc
- /_lp /stroke dd
- } if
- } dd
- /f {
- { { sfc fill }
- {gsave sfc fill grestore clip newpath icl ilp}
- {gsave sfc fill grestore eoclip newpath icl ilp}
- } _doClip get exec
- } bd
- /f* {
- { { sfc eofill }
- {gsave sfc eofill grestore clip newpath icl ilp}
- {gsave sfc eofill grestore eoclip newpath icl ilp}
- } _doClip get exec
- } bd
- /S {
- { { ssc stroke }
- {gsave ssc stroke grestore clip newpath icl ilp}
- {gsave ssc stroke grestore eoclip newpath icl ilp}
- } _doClip get exec
- } bd
- /rf {re f} bd
- /setoverprint where
- { pop }
- { /setoverprint { pop } bd }
- ifelse
- %%EndResource
-